.def("join", &StockApi::join)
.def("reqGetConnectionInfo", &StockApi::reqGetConnectionInfo)
.def("reqUserLogin", &StockApi::reqUserLogin)
.def("reqUserLogout", &StockApi::reqUserLogout)
.def("reqUserPasswordUpdate", &StockApi::reqUserPasswordUpdate)
.def("reqInputDeviceSerial", &StockApi::reqInputDeviceSerial)
.def("reqOrderInsert", &StockApi::reqOrderInsert)
.def("reqOrderAction", &StockApi::reqOrderAction)
.def("reqCondOrderInsert", &StockApi::reqCondOrderInsert)
.def("reqCondOrderAction", &StockApi::reqCondOrderAction)
.def("reqNegoOrderInsert", &StockApi::reqNegoOrderInsert)
.def("reqNegoOrderAction", &StockApi::reqNegoOrderAction)
.def("reqOrderInsertEx", &StockApi::reqOrderInsertEx)
.def("reqOrderActionEx", &StockApi::reqOrderActionEx)
.def("reqTransferFund", &StockApi::reqTransferFund)
.def("reqTransferPosition", &StockApi::reqTransferPosition)
.def("reqInquiryJZFund", &StockApi::reqInquiryJZFund)
.def("reqInquiryBankAccountFund", &StockApi::reqInquiryBankAccountFund)
.def("reqInquiryMaxOrderVolume", &StockApi::reqInquiryMaxOrderVolume)
.def("reqInquiryTradeConcentration", &StockApi::reqInquiryTradeConcentration)
.def("reqModifyOpenPosCost", &StockApi::reqModifyOpenPosCost)
.def("reqInputNodeFundAssignment", &StockApi::reqInputNodeFundAssignment)
.def("reqInquiryNodeFundAssignment", &StockApi::reqInquiryNodeFundAssignment)
.def("reqQryExchange", &StockApi::reqQryExchange)
.def("reqQrySecurity", &StockApi::reqQrySecurity)
.def("reqQryIPOInfo", &StockApi::reqQryIPOInfo)
.def("reqQryUser", &StockApi::reqQryUser)
.def("reqQryInvestor", &StockApi::reqQryInvestor)
.def("reqQryShareholderAccount", &StockApi::reqQryShareholderAccount)
.def("reqQryRationalInfo", &StockApi::reqQryRationalInfo)
.def("reqQryOrder", &StockApi::reqQryOrder)
.def("reqQryOrderAction", &StockApi::reqQryOrderAction)
.def("reqQryTrade", &StockApi::reqQryTrade)
.def("reqQryTradingAccount", &StockApi::reqQryTradingAccount)
.def("reqQryPosition", &StockApi::reqQryPosition)
.def("reqQryTradingFee", &StockApi::reqQryTradingFee)
.def("reqQryInvestorTradingFee", &StockApi::reqQryInvestorTradingFee)
.def("reqQryIPOQuota", &StockApi::reqQryIPOQuota)
.def("reqQryOrderFundDetail", &StockApi::reqQryOrderFundDetail)
.def("reqQryFundTransferDetail", &StockApi::reqQryFundTransferDetail)
.def("reqQryPositionTransferDetail", &StockApi::reqQryPositionTransferDetail)
.def("reqQryPeripheryPositionTransferDetail", &StockApi::reqQryPeripheryPositionTransferDetail)
.def("reqQryPeripheryFundTransferDetail", &StockApi::reqQryPeripheryFundTransferDetail)
.def("reqQryBondConversionInfo", &StockApi::reqQryBondConversionInfo)
.def("reqQryBondPutbackInfo", &StockApi::reqQryBondPutbackInfo)
.def("reqQryInvestorCondOrderLimitParam", &StockApi::reqQryInvestorCondOrderLimitParam)
.def("reqQryConditionOrder", &StockApi::reqQryConditionOrder)
.def("reqQryCondOrderAction", &StockApi::reqQryCondOrderAction)
.def("reqQryTradingNotice", &StockApi::reqQryTradingNotice)
.def("reqQryIPONumberResult", &StockApi::reqQryIPONumberResult)
.def("reqQryIPOMatchNumberResult", &StockApi::reqQryIPOMatchNumberResult)
.def("reqQryShareholderSpecPrivilege", &StockApi::reqQryShareholderSpecPrivilege)
.def("reqQryMarket", &StockApi::reqQryMarket)
.def("reqQryETFFile", &StockApi::reqQryETFFile)
.def("reqQryETFBasket", &StockApi::reqQryETFBasket)
.def("reqQryInvestorPositionLimit", &StockApi::reqQryInvestorPositionLimit)
.def("reqQrySZSEImcParams", &StockApi::reqQrySZSEImcParams)
.def("reqQrySZSEImcExchangeRate", &StockApi::reqQrySZSEImcExchangeRate)
.def("reqQrySZSEHKPriceTickInfo", &StockApi::reqQrySZSEHKPriceTickInfo)
.def("reqQryLofFundInfo", &StockApi::reqQryLofFundInfo)
.def("reqQryPledgePosition", &StockApi::reqQryPledgePosition)
.def("reqQryPledgeInfo", &StockApi::reqQryPledgeInfo)
.def("reqQrySystemNodeInfo", &StockApi::reqQrySystemNodeInfo)
.def("reqQryStandardBondPosition", &StockApi::reqQryStandardBondPosition)
.def("reqQryPrematurityRepoOrder", &StockApi::reqQryPrematurityRepoOrder)
.def("reqQryNegoOrder", &StockApi::reqQryNegoOrder)
.def("reqQryNegoOrderAction", &StockApi::reqQryNegoOrderAction)
.def("reqQryNegoTrade", &StockApi::reqQryNegoTrade)
.def("reqQryNegotiationParam", &StockApi::reqQryNegotiationParam)

.def("onFrontConnected", &StockApi::onFrontConnected)
.def("onFrontDisconnected", &StockApi::onFrontDisconnected)
.def("onRspError", &StockApi::onRspError)
.def("onRspGetConnectionInfo", &StockApi::onRspGetConnectionInfo)
.def("onRspUserLogin", &StockApi::onRspUserLogin)
.def("onRspUserLogout", &StockApi::onRspUserLogout)
.def("onRspUserPasswordUpdate", &StockApi::onRspUserPasswordUpdate)
.def("onRspInputDeviceSerial", &StockApi::onRspInputDeviceSerial)
.def("onRspOrderInsert", &StockApi::onRspOrderInsert)
.def("onRtnOrder", &StockApi::onRtnOrder)
.def("onErrRtnOrderInsert", &StockApi::onErrRtnOrderInsert)
.def("onRtnTrade", &StockApi::onRtnTrade)
.def("onRspOrderAction", &StockApi::onRspOrderAction)
.def("onErrRtnOrderAction", &StockApi::onErrRtnOrderAction)
.def("onRspCondOrderInsert", &StockApi::onRspCondOrderInsert)
.def("onRtnCondOrder", &StockApi::onRtnCondOrder)
.def("onErrRtnCondOrderInsert", &StockApi::onErrRtnCondOrderInsert)
.def("onRspCondOrderAction", &StockApi::onRspCondOrderAction)
.def("onErrRtnCondOrderAction", &StockApi::onErrRtnCondOrderAction)
.def("onRspNegoOrderInsert", &StockApi::onRspNegoOrderInsert)
.def("onRtnNegoOrder", &StockApi::onRtnNegoOrder)
.def("onErrRtnNegoOrderInsert", &StockApi::onErrRtnNegoOrderInsert)
.def("onRtnNegoTrade", &StockApi::onRtnNegoTrade)
.def("onRspNegoOrderAction", &StockApi::onRspNegoOrderAction)
.def("onErrRtnNegoOrderAction", &StockApi::onErrRtnNegoOrderAction)
.def("onRspOrderInsertEx", &StockApi::onRspOrderInsertEx)
.def("onRspOrderActionEx", &StockApi::onRspOrderActionEx)
.def("onRtnMarketStatus", &StockApi::onRtnMarketStatus)
.def("onRspTransferFund", &StockApi::onRspTransferFund)
.def("onErrRtnTransferFund", &StockApi::onErrRtnTransferFund)
.def("onRtnTransferFund", &StockApi::onRtnTransferFund)
.def("onRspTransferPosition", &StockApi::onRspTransferPosition)
.def("onErrRtnTransferPosition", &StockApi::onErrRtnTransferPosition)
.def("onRtnTransferPosition", &StockApi::onRtnTransferPosition)
.def("onRtnPeripheryTransferPosition", &StockApi::onRtnPeripheryTransferPosition)
.def("onRtnPeripheryTransferFund", &StockApi::onRtnPeripheryTransferFund)
.def("onRspInquiryJZFund", &StockApi::onRspInquiryJZFund)
.def("onRspInquiryBankAccountFund", &StockApi::onRspInquiryBankAccountFund)
.def("onRtnTradingNotice", &StockApi::onRtnTradingNotice)
.def("onRspInquiryMaxOrderVolume", &StockApi::onRspInquiryMaxOrderVolume)
.def("onRspInquiryTradeConcentration", &StockApi::onRspInquiryTradeConcentration)
.def("onRspModifyOpenPosCost", &StockApi::onRspModifyOpenPosCost)
.def("onRspInputNodeFundAssignment", &StockApi::onRspInputNodeFundAssignment)
.def("onRspInquiryNodeFundAssignment", &StockApi::onRspInquiryNodeFundAssignment)
.def("onRspQryExchange", &StockApi::onRspQryExchange)
.def("onRspQrySecurity", &StockApi::onRspQrySecurity)
.def("onRspQryIPOInfo", &StockApi::onRspQryIPOInfo)
.def("onRspQryUser", &StockApi::onRspQryUser)
.def("onRspQryInvestor", &StockApi::onRspQryInvestor)
.def("onRspQryShareholderAccount", &StockApi::onRspQryShareholderAccount)
.def("onRspQryRationalInfo", &StockApi::onRspQryRationalInfo)
.def("onRspQryOrder", &StockApi::onRspQryOrder)
.def("onRspQryOrderAction", &StockApi::onRspQryOrderAction)
.def("onRspQryTrade", &StockApi::onRspQryTrade)
.def("onRspQryTradingAccount", &StockApi::onRspQryTradingAccount)
.def("onRspQryPosition", &StockApi::onRspQryPosition)
.def("onRspQryTradingFee", &StockApi::onRspQryTradingFee)
.def("onRspQryInvestorTradingFee", &StockApi::onRspQryInvestorTradingFee)
.def("onRspQryIPOQuota", &StockApi::onRspQryIPOQuota)
.def("onRspQryOrderFundDetail", &StockApi::onRspQryOrderFundDetail)
.def("onRspQryFundTransferDetail", &StockApi::onRspQryFundTransferDetail)
.def("onRspQryPositionTransferDetail", &StockApi::onRspQryPositionTransferDetail)
.def("onRspQryPeripheryPositionTransferDetail", &StockApi::onRspQryPeripheryPositionTransferDetail)
.def("onRspQryPeripheryFundTransferDetail", &StockApi::onRspQryPeripheryFundTransferDetail)
.def("onRspQryBondConversionInfo", &StockApi::onRspQryBondConversionInfo)
.def("onRspQryBondPutbackInfo", &StockApi::onRspQryBondPutbackInfo)
.def("onRspQryInvestorCondOrderLimitParam", &StockApi::onRspQryInvestorCondOrderLimitParam)
.def("onRspQryConditionOrder", &StockApi::onRspQryConditionOrder)
.def("onRspQryCondOrderAction", &StockApi::onRspQryCondOrderAction)
.def("onRspQryTradingNotice", &StockApi::onRspQryTradingNotice)
.def("onRspQryIPONumberResult", &StockApi::onRspQryIPONumberResult)
.def("onRspQryIPOMatchNumberResult", &StockApi::onRspQryIPOMatchNumberResult)
.def("onRspQryShareholderSpecPrivilege", &StockApi::onRspQryShareholderSpecPrivilege)
.def("onRspQryMarket", &StockApi::onRspQryMarket)
.def("onRspQryETFFile", &StockApi::onRspQryETFFile)
.def("onRspQryETFBasket", &StockApi::onRspQryETFBasket)
.def("onRspQryInvestorPositionLimit", &StockApi::onRspQryInvestorPositionLimit)
.def("onRspQrySZSEImcParams", &StockApi::onRspQrySZSEImcParams)
.def("onRspQrySZSEImcExchangeRate", &StockApi::onRspQrySZSEImcExchangeRate)
.def("onRspQrySZSEHKPriceTickInfo", &StockApi::onRspQrySZSEHKPriceTickInfo)
.def("onRspQryLofFundInfo", &StockApi::onRspQryLofFundInfo)
.def("onRspQryPledgePosition", &StockApi::onRspQryPledgePosition)
.def("onRspQryPledgeInfo", &StockApi::onRspQryPledgeInfo)
.def("onRspQrySystemNodeInfo", &StockApi::onRspQrySystemNodeInfo)
.def("onRspQryStandardBondPosition", &StockApi::onRspQryStandardBondPosition)
.def("onRspQryPrematurityRepoOrder", &StockApi::onRspQryPrematurityRepoOrder)
.def("onRspQryNegoOrder", &StockApi::onRspQryNegoOrder)
.def("onRspQryNegoOrderAction", &StockApi::onRspQryNegoOrderAction)
.def("onRspQryNegoTrade", &StockApi::onRspQryNegoTrade)
.def("onRspQryNegotiationParam", &StockApi::onRspQryNegotiationParam)
;
